package com.netjava.pojo;

/**
 * Preauction entity.
 * 即将拍卖的商品
 * @author MyEclipse Persistence Tools
 */

public class Preauction implements java.io.Serializable {

	// Fields

	private Integer preauctionId;
	private Product product;//即将拍卖的商品
	private String startTime;//商品开始拍卖的时间
	private String other1;//备用字段

	// Constructors

	/** default constructor */
	public Preauction() {
	}

	/** minimal constructor */
	public Preauction(Product product, String startTime) {
		this.product = product;
		this.startTime = startTime;
	}

	/** full constructor */
	public Preauction(Product product, String startTime, String other1) {
		this.product = product;
		this.startTime = startTime;
		this.other1 = other1;
	}

	// Property accessors

	public Integer getPreauctionId() {
		return this.preauctionId;
	}

	public void setPreauctionId(Integer preauctionId) {
		this.preauctionId = preauctionId;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getStartTime() {
		return this.startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getOther1() {
		return this.other1;
	}

	public void setOther1(String other1) {
		this.other1 = other1;
	}

}